const Utils={};


Utils.hexString=(buffer)=>{

    let s="";
    for (let i=0;i<buffer.length;i++){
        s=s+" "+buffer[i].toString(16).padStart(2,0)
    }

    return s;
}

Utils.hexStringByWord=(v)=>{
    s="0x"+v.toString(16).padStart(4,0);
    return s
}



module.exports = Utils;